home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / pas_all.zip / TI198.ASC < prev    next >
Text File  |  1992-08-12  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.   PRODUCT : TURBO PASCAL                               NUMBER : 198
  10.   VERSION : 3.0xx
  11.        OS : PC-DOS
  12.      DATE : July 11, 1986                                PAGE : 1/2
  13.     TITLE : VIDEO ATTRIBUTES
  14.  
  15.  
  16.  
  17.  
  18.   The following table lists possible installations available for
  19.   the IBM implementation of Turbo Pascal using a color monitor.
  20.   Included are the locations in the TURBO.COM file where the
  21.   attributes for the indicated text intensities can be found. Using
  22.   the
  23.  
  24.   ________________________________________________________________
  25.   Install     | Menu Highlight| Menu LowVideo | Block     | Error
  26.   Turbo       | Edited Text   | Editor Status | Highlight | Msgs
  27.   Pascal      | Text OutPut   | Line HEX      | HEX       |
  28.   using TINST | Hex Color     | Location      | Location  |
  29.   ________________________________________________________________
  30.  
  31.   Color,      |               |               |           |
  32.   Default     |    0177       |     0178      |   0179    |  017A
  33.   ________________________________________________________________
  34.  
  35.   Monochrome  |    016F       |     0170      |   0171    |  0172
  36.   ________________________________________________________________
  37.  
  38.   Black &     |               |               |           |
  39.   White       |    0173       |     0174      |   0175    |  0176
  40.   ________________________________________________________________
  41.  
  42.   Assuming Turbo Pascal has been installed for a color monitor:
  43.  
  44.   1.   Using DEBUG to edit location 0177 of the TURBO.COM file.
  45.  
  46.   2.   Change it from the default value of $0E (Norm Video) to $8E
  47.        (Blinking Video).
  48.  
  49.   3.   Save the modification and run Turbo Pascal to see the
  50.        results.
  51.  
  52.   4.   This modification will cause all Normal Video characters to
  53.        blink. This includes the Error Messages Screen, the Main
  54.        Menu,  and the text in the Text Editor.
  55.  
  56.   Notes:
  57.  
  58.       Bit Map of the byte at these addresses are:
  59.  
  60.            High bit 8 - - - Blink Attribute
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.   PRODUCT : TURBO PASCAL                               NUMBER : 198
  76.   VERSION : 3.0xx
  77.        OS : PC-DOS
  78.      DATE : July 11, 1986                                PAGE : 2/2
  79.     TITLE : VIDEO ATTRIBUTES
  80.  
  81.  
  82.  
  83.  
  84.                     7..4  - BackGround Color
  85.            Low bit  3..0  - ForeGround Color
  86.  
  87.   To modify the border color use: Port[$3D9] := i;    {i = 0..15}
  88.  
  89.   The following table is a list of the color combinations available
  90.   when patching Turbo Pascal. For example, the value 35 Hex would
  91.   give you Light Cyan text with a Magenta background.
  92.  
  93.   Hex #     BackGround Colors          TextColors
  94.   ________________________________________________________________
  95.  
  96.     1       Dark Blue                  Dark Blue
  97.     2       Green                      Green
  98.     3       Light Cyan                 Light Cyan
  99.     4       Red                        Red
  100.     5       Magenta                    Magenta
  101.     6       Brown                      Brown
  102.     7       Light Gray                 Gray
  103.     8       Black + Blink              Dark Gray
  104.     9       Light Blue + Blink         Light Blue
  105.     A       Green + Blink              Light Green
  106.     B       Cyan + Blink               Cyan
  107.     C       Red + Blink                Light Red
  108.     D       Magenta + Blink            Magenta
  109.     E       Brown + Blink              Yellow
  110.     F       Gray + Blink               White
  111.  
  112.  
  113.   DISCLAIMER: You have the right to use this technical information
  114.   subject to the terms of the No-Nonsense License Statement that
  115.   you received with the Borland product to which this information
  116.   pertains.
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.